package com.iran.decorator.example;

public class RealizeComponent implements DecorateComponent {
    @Override
    public void wearing(Person person) {
        System.out.println(person.getName() + " 穿西服 西裤 打领带 高档皮鞋,今年" + person.getAge() + "岁");
    }
}
